package git.soulbgm.pojo;

/**
 * JVM相关信息
 *
 * @author SoulBGM
 * @date 2019/10/10 11:03
 */
public class Jvm {
    /**
     * 当前JVM占用的内存总数 单位字节
     */
    private double memoryTotal;

    /**
     * JVM最大可用内存总数 单位字节
     */
    private double maxAvailableMemory;

    /**
     * JVM空闲内存 单位字节
     */
    private double freeMemory;

    /**
     * JVM已用内存 单位字节
     */
    private double usageMemory;

    /**
     * JDK版本
     */
    private String jdkVersion;

    /**
     * JRE路径
     */
    private String jreHome;

    /**
     * 启动时间 单位毫秒
     */
    private long startTime;

    /**
     * 运行时长 单位毫秒
     */
    private long runTime;

    public double getMemoryTotal() {
        return memoryTotal;
    }

    public void setMemoryTotal(double memoryTotal) {
        this.memoryTotal = memoryTotal;
    }

    public double getMaxAvailableMemory() {
        return maxAvailableMemory;
    }

    public void setMaxAvailableMemory(double maxAvailableMemory) {
        this.maxAvailableMemory = maxAvailableMemory;
    }

    public double getFreeMemory() {
        return freeMemory;
    }

    public void setFreeMemory(double freeMemory) {
        this.freeMemory = freeMemory;
    }

    public double getUsageMemory() {
        return usageMemory;
    }

    public void setUsageMemory(double usageMemory) {
        this.usageMemory = usageMemory;
    }

    public String getJdkVersion() {
        return jdkVersion;
    }

    public void setJdkVersion(String jdkVersion) {
        this.jdkVersion = jdkVersion;
    }

    public String getJreHome() {
        return jreHome;
    }

    public void setJreHome(String jreHome) {
        this.jreHome = jreHome;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getRunTime() {
        return runTime;
    }

    public void setRunTime(long runTime) {
        this.runTime = runTime;
    }
}
